@import "../../../core/less/core.less";
@import "../../../core/less/has-custom-module.less";

.preview-container {
	.preview {
		display: inline-block;
		width: 100px;
		height: 150px;
		margin: 5px;
		background: no-repeat center center;
		background-size: cover;
		.text {
			position: absolute;
			top: 80px;
			left: 0;
			right: 0;
			bottom: 0;
			font-size: 12px;
			color: #fff;
			background-color: rgba(0,0,0,0.5);
		}
	}
}

.avatar {
	display: block;
	position: relative;
	overflow: hidden;
	width: 300px;
	height: 200px;
	border: 2px solid rgba(70, 68, 68, 0.2);
	border-radius: 5px;
	background: no-repeat center center;
	background-size: contain;
	cursor: pointer;
	margin: 0 auto;
}

.avatar:after {
	content: "点击修改";
	display: block;
	position: absolute;
	color: #fff;
	left: 0;
	right: 0;
	height: 30px;
	bottom: 0;
	text-align: center;
	background-color: rgba(0,0,0,0.2);
}
